//
//  MyWalletController.swift
//  CarShare
//
//  Created by Pro on 2017/12/26.
//

import UIKit

class MyWalletController: BaseController {
 
    
    func configUI() -> Void {
        self.view.backgroundColor = UIColor.groupTableViewBackground
        
    }
    
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        navigationController?.navigationBar.isHidden = false
    }
    override func viewDidLoad() {
        super.viewDidLoad()
        configUI()
        title = "我的钱包"
    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
    }
    
    
    @IBAction func AccountLeaveAction(_ sender: UIButton) {
        //余额
    navigationController?.pushViewController(AccountLeaveController(), animated: false)
    }
    
    @IBAction func DepositAction(_ sender: UIButton) {
        // 押金
    navigationController?.pushViewController(DepositController(), animated: false)
    }
    
    @IBAction func DiscountCouponAction(_ sender: UIButton) {
        // 优惠券
        self.navigationController?.pushViewController(DisCouponController(), animated: false)
    }

}
